package com.crm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.crm.domain.dto.MenuDTO;
import org.apache.ibatis.annotations.Select;

import java.util.List;


public interface MenuMapper extends BaseMapper<MenuDTO> {

    @Select("SELECT menu_id, menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark, children FROM menu")
    List<MenuDTO> selectAllMenus();

}
